package com.springboot.blog.service;

import com.springboot.blog.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface CommentService {
    int deleteByPrimaryKey(Integer id);

    int insert(Comment record);

    Comment selectByPrimaryKey(Integer id);

    List<Comment> selectAll();

    int updateByPrimaryKey(Comment record);
}